//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package study.IO.字符流.Reader;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class BufferedReader_demo {
    public BufferedReader_demo() {
    }

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new FileReader("JavaTest\\Files\\a.txt"));
        String line = br.readLine();
        System.out.println(line);
        line = "";

        while((line = br.readLine()) != null) {
            System.out.println(line);
        }

        br.close();
    }
}
